package com.coder.code.ui

import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.coder.code.R
import com.coder.code.databinding.ActivityDragLayoutBinding
import com.coder.code.databinding.ActivityMotionLayout2Binding
import timber.log.Timber

/**
 * @description TODO
 * @author yuhus
 * @date 2021/12/7 20:11
 */
class DragLayoutActivity : AppCompatActivity() {
    private val binding by lazy { ActivityDragLayoutBinding.inflate(layoutInflater) }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(binding.root)

        binding.tv1.setOnClickListener {
            Toast.makeText(this, "tv1 onClick", Toast.LENGTH_SHORT).show()
        }

        binding.tv2.setOnClickListener {
            Toast.makeText(this, "tv2 onClick", Toast.LENGTH_SHORT).show()
        }

        binding.tv3.setOnClickListener {
            Toast.makeText(this, "tv3 onClick", Toast.LENGTH_SHORT).show()
        }


    }
}